From: kaf24@firebug.cl.cam.ac.uk Date: Tue, 25 Apr 2006 08:02:53 +0000 (+0100) Subject: Add a return statement to the non-Xen version of skb_checksum_setup. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16117^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e46dd6eea63a11d0aaaeb7afa34e2bd025a03a53;p=xen.git Add a return statement to the non-Xen version of skb_checksum_setup. Signed-off-by: Jan Beulich --- diff --git a/linux-2.6-xen-sparse/net/core/dev.c b/linux-2.6-xen-sparse/net/core/dev.c index 492fb7c800..55870e1254 100644 --- a/linux-2.6-xen-sparse/net/core/dev.c +++ b/linux-2.6-xen-sparse/net/core/dev.c @@ -1253,7 +1253,7 @@ out: return -EPROTO; } #else -inline int skb_checksum_setup(struct sk_buff *skb) {} +inline int skb_checksum_setup(struct sk_buff *skb) { return 0; } #endif